package com.ruoyi.system.mapper.app;

import com.ruoyi.system.domain.app.CommunityPartner;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommunityPartnerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CommunityPartner record);

    int insertSelective(CommunityPartner record);

    CommunityPartner selectByPrimaryKey(Long id);

    CommunityPartner selectByCommunityIdUserId(@Param("communityId")Long communityId,@Param("userId")Long userId);



    List<CommunityPartner> getListByCommunityId(Long communityId);

    int updateByPrimaryKeySelective(CommunityPartner record);

    int updateByPrimaryKey(CommunityPartner record);
}